
<app-cf-scroll id="pancel">
  <div class="content">
    <div class="item" *ngFor="let item of data;let i = index" [ngClass]="{selected: selectActive === i}" (click)="itemClick(item, i)">
      <div class="content">
        <div class="left">
          <div class="icon">
            <ng-container *ngIf="icon; else icoTpl">
              <img [src]="icon">
            </ng-container>
            <ng-template #icoTpl>
              <img src="./assets/img/search/pin_bg.png">
            </ng-template>
            <span>{{i+1}}</span>
          </div>
          {{item.title || '未知'}}
          <!-- <span class="title"></span> -->
        </div>
        <div class="right">
          <span class="des">
            <ng-container *ngIf="item.tag==='未检测'; else tagTpl">
              <nz-tag [nzColor]="'red'">{{item.tag}}</nz-tag>
            </ng-container>
            <ng-template #tagTpl>
              <nz-tag [nzColor]="'blue'">{{item.tag}}</nz-tag>
            </ng-template>
          </span>
        </div>
      </div>
    </div>
  </div>
</app-cf-scroll>
